﻿<!--#include file="conn.asp"--><%
if request("id")="" then
response.write("<script>alert('错误:没有选定任何内容!');history.go(-1)</script>")
response.end
elseif request("act")="生成HTML" then
id=replace(request("id")," ","")
response.redirect "makehtml_comicall.asp?type=id&id="&id&""
response.end
elseif request("act")="批量修改类别" then
id=replace(request("id")," ","")
response.redirect "editlb.asp?id="&id&""
response.end
elseif request("act")="批量选择类别" then
id=replace(request("id")," ","")
response.redirect "addlb.asp?id="&id&""
response.end

elseif request("act")="全部删除" then
conn.execute("delete from comics where id in("&request("id")&")")
conn.execute("delete from zj where cid in("&request("id")&")")
conn.close
set conn=nothing
response.redirect Request.ServerVariables("HTTP_REFERER")
response.end
elseif request("act")="tj" then
conn.execute("update comics set tj = ("&request("tj")&") where id in("&request("id")&")")
conn.close
set conn=nothing
response.redirect Request.ServerVariables("HTTP_REFERER")
response.end
elseif request("act")="zt" then
conn.execute("update comics set zt = ("&request("zt")&") where id in("&request("id")&")")
conn.close
set conn=nothing
response.redirect Request.ServerVariables("HTTP_REFERER")
response.end
end if%>
